package net.xdclass.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "用戶注冊对象", description = "用戶注冊請求對象")
public class UserRegisterRequest {
    @ApiModelProperty(value = "昵称", example = "tom")
    private String name;

    @ApiModelProperty(value = "密碼", example = "123456")
    private String pwd;

    @JsonProperty("head_img")
    @ApiModelProperty(value = "图像", example = "123456")
    private String headImg;

    @ApiModelProperty(value = "用戶个人性簽名", example = "hello world")
    private String slogan;

    @ApiModelProperty(value = "性名", example = "0 表示女, 1 表示男")
    private Integer sex;

    @ApiModelProperty(value = "邮箱", example = "1685020647@qq.com")
    private String mail;

    @ApiModelProperty(value = "驗証碼", example = "354195")
    private String code;
}
